package com.github.rxyor.ddd.service.infrastructure.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.github.rxyor.ddd.service.infrastructure.repository.entity.OrderAddressDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderAddressMapper extends BaseMapper<OrderAddressDO> {

    int updateBatch(List<OrderAddressDO> list);

    int batchInsert(@Param("list") List<OrderAddressDO> list);

    int insertOrUpdate(OrderAddressDO record);

    int insertOrUpdateSelective(OrderAddressDO record);
}